#ifndef MYCALLBACK_H
#define MYCALLBACK_H

#include <sbs2callback.h>
#include <sbs2datahandler.h>

class MyCallback : public Sbs2Callback
{
    Q_OBJECT
public:
    explicit MyCallback(QObject *parent = 0);
    void getData(Sbs2Packet *packet);
    QVector<QVector<QList<int> > > values;
private:
    int samplesToCollect;
    int samples;

    int valuesIndex;



signals:
    void valueSignal(int index);
    void gyroSignal(int gyroX, int gyroY);

public slots:
    
};

#endif // MYCALLBACK_H
